package com.zhang.service;

import com.zhang.mapper.AuthorityMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * User: 张
 * Date: 2024-10-30
 * Time: 16:48
 * Description:
 */
@Service
public class AuthorityService {
    @Autowired
    private AuthorityMapper authorityMapper;

    public void addAuthority(Integer userId, Integer authorityId){
        authorityMapper.addAuthority(userId, authorityId);
    }
}
